package com.holystone.orca.sys.mybatis.model;

import javax.persistence.*;

@Table(name = "sys_staff_role")
public class SysStaffRole {
    /**
     * 员工标示
     */
    @Id
    @Column(name = "staff_id")
    private Integer staffId;

    /**
     * 角色标示
     */
    @Id
    @Column(name = "role_id")
    private Integer roleId;

    /**
     * 获取员工标示
     *
     * @return staff_id - 员工标示
     */
    public Integer getStaffId() {
        return staffId;
    }

    /**
     * 设置员工标示
     *
     * @param staffId 员工标示
     */
    public void setStaffId(Integer staffId) {
        this.staffId = staffId;
    }

    /**
     * 获取角色标示
     *
     * @return role_pid - 角色标示
     */
    public Integer getRoleId() {
        return roleId;
    }

    /**
     * 设置角色标示
     *
     * @param rolePid 角色标示
     */
    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }
}